package cn.xpg.service;

import java.util.List;

import cn.xpg.entity.Employee;

public interface EmployeeService {
	// 新增员工
	public int addEmployee(Employee employee);

	// 删除员工
	public int deleteEmployee(int employee_id);

	// 查询员工
	public List<Employee> getEmployeeList(String employee_name,int currentPageNo,int pageSize);

	// 查询员工行数
	public int getEmployeeCount(String employee_name);

	// 获取员工id
	public Employee getEmployeeId(int employee_id);

	// 修改员工
	public int updateEmployee(Employee employee);
}
